/** 启用分类 **/
function activation(id, name, navTabId) {
	alertMsg.confirm("确认启用分类 - " + name + " - 吗？", {
		okCall : function() {
			$.post(ctx + "/dic/category/activation", {
					"id" : id,
					"navTabId" : navTabId
				}, 
				function(json, status) {
					dialogAjaxDone(json);
				}, 
			"json");
		}
	});
}

/** 屏蔽分类 **/
function shield(id, name, navTabId) {
	alertMsg.confirm("确认屏蔽分类 - " + name + " - 吗？", {
		okCall : function() {
			$.post(ctx + "/dic/category/shield", {
					"id" : id,
					"navTabId" : navTabId
				}, 
				function(json, status) {
					dialogAjaxDone(json);
				}, 
			"json");
		}
	});
}